import request from "@/utils/request";

// 查询疫苗存储温度记录列表
export function listVaccineTemp(query) {
  return request({
    url: "/zp/vaccineTemp/list",
    method: "get",
    params: query,
  });
}

// 查询疫苗存储温度记录详细
export function getVaccineTemp(id) {
  return request({
    url: "/medical/vaccineTemp/" + id,
    method: "get",
  });
}

// 新增疫苗存储温度记录
export function addVaccineTemp(data) {
  return request({
    url: "/zp/vaccineTemp",
    method: "post",
    data: data,
  });
}

// 修改疫苗存储温度记录
export function updateVaccineTemp(data) {
  return request({
    url: "/medical/vaccineTemp",
    method: "put",
    data: data,
  });
}

// 删除疫苗存储温度记录
export function delVaccineTemp(id) {
  return request({
    url: "/medical/vaccineTemp/" + id,
    method: "delete",
  });
}
